[INFO] cloning repository https://github.com/equinor/gordo-controller
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/equinor/gordo-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a313e80408ca21ec29ebd151f014de104936de1d
[INFO] checking equinor/gordo-controller against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fequinor%2Fgordo-controller" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/equinor/gordo-controller on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/equinor/gordo-controller
[INFO] finished tweaking git repo https://github.com/equinor/gordo-controller
[INFO] tweaked toml for git repo https://github.com/equinor/gordo-controller written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/equinor/gordo-controller already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fef2df7019b329898399db1274a4a9448129d1d4c201db0937bb0bff6ad2753c
[INFO] running `Command { std: "docker" "start" "-a" "fef2df7019b329898399db1274a4a9448129d1d4c201db0937bb0bff6ad2753c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fef2df7019b329898399db1274a4a9448129d1d4c201db0937bb0bff6ad2753c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fef2df7019b329898399db1274a4a9448129d1d4c201db0937bb0bff6ad2753c", kill_on_drop: false }`
[INFO] [stdout] fef2df7019b329898399db1274a4a9448129d1d4c201db0937bb0bff6ad2753c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ff9ac0930d24c2dbfd3ce492f957bf3c79e576658a1972ffae7872604a99959
[INFO] running `Command { std: "docker" "start" "-a" "5ff9ac0930d24c2dbfd3ce492f957bf3c79e576658a1972ffae7872604a99959", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]     Checking futures-io v0.3.25
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking parking_lot_core v0.9.4
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]    Compiling cc v1.0.76
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking num_cpus v1.14.0
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl v0.10.42
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking net2 v0.2.38
[INFO] [stderr]    Compiling openssl-sys v0.9.77
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking ordered-float v2.10.0
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking miniz_oxide v0.5.4
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]    Compiling schemars v0.8.11
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling tokio-openssl v0.6.3
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling k8s-openapi v0.14.0
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]    Compiling hyper-openssl v0.9.2
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking dyn-clone v1.0.9
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking digest v0.10.5
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling bytestring v1.2.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling regex v1.7.0
[INFO] [stderr]     Checking linked_hash_set v0.1.4
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling cookie v0.16.1
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking http-range-header v0.3.0
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]    Compiling backtrace v0.3.66
[INFO] [stderr]     Checking pem v1.1.0
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling schemars_derive v0.8.11
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking time v0.3.15
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking tower-http v0.2.5
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking tokio-util v0.7.4
[INFO] [stderr]     Checking hyper v0.14.23
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking gimli v0.26.2
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking h2 v0.3.15
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking object v0.29.0
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking chrono v0.4.23
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking treediff v3.0.2
[INFO] [stderr]     Checking json-patch v0.2.6
[INFO] [stderr]     Checking jsonpath_lib v0.3.0
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]    Compiling actix-router v0.5.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]    Compiling actix-web-codegen v4.1.0
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling kube-derive v0.71.0
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking envy v0.4.2
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking ipnet v2.5.1
[INFO] [stderr]     Checking tokio-test v0.2.1
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stderr]     Checking kube-core v0.71.0
[INFO] [stderr]     Checking kube-client v0.71.0
[INFO] [stderr]     Checking kube-runtime v0.71.0
[INFO] [stderr]     Checking kube v0.71.0
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.2.2
[INFO] [stderr]     Checking actix-web v4.2.1
[INFO] [stderr]     Checking actix-web-prom v0.6.0
[INFO] [stderr]     Checking gordo-controller v0.11.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `chrono::MIN_DATE`: Use Date::MIN_UTC instead
[INFO] [stdout]  --> src/crd/argo/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::MIN_DATE;
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `chrono::MIN_DATE`: Use Date::MIN_UTC instead
[INFO] [stdout]    --> src/crd/argo/mod.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let min_date_time = MIN_DATE.clone().and_hms(0, 0, 0);
[INFO] [stdout]     |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `chrono::MIN_DATE`: Use Date::MIN_UTC instead
[INFO] [stdout]  --> src/crd/argo/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::MIN_DATE;
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `chrono::MIN_DATE`: Use Date::MIN_UTC instead
[INFO] [stdout]    --> src/crd/argo/mod.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let min_date_time = MIN_DATE.clone().and_hms(0, 0, 0);
[INFO] [stdout]     |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
[INFO] [stdout]    --> src/crd/argo/mod.rs:109:46
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let min_date_time = MIN_DATE.clone().and_hms(0, 0, 0);
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
[INFO] [stdout]    --> src/crd/argo/mod.rs:109:46
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let min_date_time = MIN_DATE.clone().and_hms(0, 0, 0);
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `helpers`
[INFO] [stdout]   --> examples/helpers.rs:24:2
[INFO] [stdout]    |
[INFO] [stdout] 24 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/helpers.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gordo-controller` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `GordoEnvironmentConfig`
[INFO] [stdout]   --> tests/test_controller.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | use gordo_controller::{GordoEnvironmentConfig, Config};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GordoEnvironmentConfig`
[INFO] [stdout]  --> src/main.rs:2:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gordo_controller::{init_gordo_controller, crd, views, GordoEnvironmentConfig, Config, errors};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{info,warn,debug};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GordoEnvironmentConfig`
[INFO] [stdout]  --> src/main.rs:2:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gordo_controller::{init_gordo_controller, crd, views, GordoEnvironmentConfig, Config, errors};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{info,warn,debug};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `gordo_controller::crd::gordo::load_gordo_resource`, `gordo_controller::crd::model::load_model_resource`, `gordo_controller::load_kube_config`
[INFO] [stdout]  --> examples/query_server.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     crd::gordo::{load_gordo_resource, Gordo},
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^ no `load_gordo_resource` in `crd::gordo`
[INFO] [stdout] 4 |     crd::model::{load_model_resource, Model},
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^ no `load_model_resource` in `crd::model`
[INFO] [stdout] 5 |     load_kube_config,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ no `load_kube_config` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `gordo_controller::crd::gordo::load_gordo_resource`, `gordo_controller::crd::model::load_model_resource`
[INFO] [stdout]  --> examples/apply_gordo.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use gordo_controller::crd::{gordo::load_gordo_resource, model::load_model_resource};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `load_model_resource` in `crd::model`
[INFO] [stdout]   |                             |
[INFO] [stdout]   |                             no `load_gordo_resource` in `crd::gordo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kube::client::APIClient`
[INFO] [stdout]  --> examples/query_server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use kube::client::APIClient;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |     |             |
[INFO] [stdout]   |     |             help: a similar name exists in the module: `Client`
[INFO] [stdout]   |     no `APIClient` in `client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kube::client::APIClient`
[INFO] [stdout]  --> examples/apply_gordo.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use kube::client::APIClient;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |     |             |
[INFO] [stdout]   |     |             help: a similar name exists in the module: `Client`
[INFO] [stdout]   |     no `APIClient` in `client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `failure::_core::time::Duration`
[INFO] [stdout]  --> examples/query_server.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use failure::_core::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Gordo`, `Model`
[INFO] [stdout]  --> examples/query_server.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 |     crd::gordo::{load_gordo_resource, Gordo},
[INFO] [stdout]   |                                       ^^^^^
[INFO] [stdout] 4 |     crd::model::{load_model_resource, Model},
[INFO] [stdout]   |                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DeleteParams`, `PostParams`
[INFO] [stdout]  --> examples/query_server.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use kube::api::{DeleteParams, PostParams};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_kube_config` in module `config`
[INFO] [stdout]   --> examples/apply_gordo.rs:18:41
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let client = APIClient::new(config::load_kube_config().await.unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ not found in `config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `query_server`
[INFO] [stdout]    --> examples/query_server.rs:137:2
[INFO] [stdout]     |
[INFO] [stdout] 137 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `examples/query_server.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gordo-controller` due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied
[INFO] [stdout]   --> examples/apply_gordo.rs:51:27
[INFO] [stdout]    |
[INFO] [stdout] 51 |     model.metadata.labels.insert(
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout] 52 |         "applications.gordo.equinor.com/project-revision".to_owned(),
[INFO] [stdout] 53 |         gordo.status.unwrap().project_revision,
[INFO] [stdout]    |         -------------------------------------- argument unexpected
[INFO] [stdout]    |
[INFO] [stdout] note: expected struct `BTreeMap`, found struct `String`
[INFO] [stdout]   --> examples/apply_gordo.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         "applications.gordo.equinor.com/project-revision".to_owned(),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: expected struct `BTreeMap<std::string::String, std::string::String>`
[INFO] [stdout]               found struct `std::string::String`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/ebbfb508237d160e7a5e663a930916c87c4a8a45/library/core/src/option.rs:1483:18
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 51 |     model.metadata.labels.insert(/* BTreeMap<std::string::String, std::string::String> */);
[INFO] [stdout]    |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gordo-controller` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "5ff9ac0930d24c2dbfd3ce492f957bf3c79e576658a1972ffae7872604a99959", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ff9ac0930d24c2dbfd3ce492f957bf3c79e576658a1972ffae7872604a99959", kill_on_drop: false }`
[INFO] [stdout] 5ff9ac0930d24c2dbfd3ce492f957bf3c79e576658a1972ffae7872604a99959
